<template>
  <el-button
    style="
      border-radius: 10px;
      color: #ffffff;
      background-color: #1e98d770;
      border-width: 3px;
      border-color: #1e98d7;
      margin: 10px 0px;
      padding: 0px;
      width: 50%;
    "
    @click="goback"
  >
    <div style="display: flex; align-items: center; justify-content: center">
      <span style="font-size: 30px; font-weight: bold">上一步</span>
      <i
        class="el-icon-back"
        style="font-size: 50px; padding-left: 10px; font-weight: bold"
      ></i>
    </div>
  </el-button>
</template>

<script>
export default {
  methods: {
    goback() {
      this.$confirm('即将返回上一步，是否继续？','上一步').then(()=>{  this.$router.back(-1);}).catch(()=>{})
    
    },
  },
};
</script>

<style></style>
